<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    
<%@ taglib prefix="core" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<style>
#al{
	width:980px;
	margin:0 auto;
}
#buttonGroup {margin:6px 10px;float:right;}
</style>
	<meta charset="utf-8">
	<title>欢迎使用仓库管理系统</title>
	<link rel="stylesheet" href="https://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">
	<script src="https://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
	<script src="https://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<div>
<div id="al">
<div>
<nav class="navbar navbar-default" role="navigation">
	<div class="container-fluid">
	<div class="navbar-header">
		<a class="navbar-brand" href="#">仓库管理系统</a>
	</div>
	<div>
	
		<!-- nav -->
		<ul class="nav navbar-nav">
			<li><a href="/Depot/depot">操作记录</a></li>
			<li class="active"><a href="#">库存详情</a></li>
			
		</ul>
		
		
		
	</div>
	</div>
	
</nav>
</div>

<!-- table -->

<div class="panel panel-default">
    <div class="panel-body">
       <table class="table table-hover">
		<thead>
			<tr>
				<th style="text-align:center">商品名</th>
				<th style="text-align:center">价格</th>
				<th style="text-align:center">总数量</th>
				
			</tr>
		</thead>
		
		<tbody>
			<core:forEach var="depot" items="${depots2 }">
				<tr>
					<td style="text-align:center"><a href="/Depot/depot/${depot.id }">${depot.name }</a></td>
					<td style="text-align:center">${depot.price }</td>
					<td style="text-align:center">${depot.amount }</td>
					
					
				</tr>
			</core:forEach>
		</tbody>
	</table>
    </div>
</div>
<!-- models -->

</div>
</div>

</body>
</html>